package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetMealDishMapper {

    // 在删除菜品时调用，看菜品有没有和套餐进行关联
    List<Long> getMealIdByDishId(Long[] ids);


    List<SetmealDish> getById(Long id);

    void insert(List<SetmealDish> setmealDishes);

    void delete(Long[] ids);
}
